print from within funciton with multiprocessing

35

from multiprocessing import Process
import sys

def f(name):
    print 'hello', name
    sys.stdout.flush()

...

Comments

Submit
0 Comments